דברי הימים ב ו:ח פירוש: רש״י

וַיֹּ֤אמֶר יְהוָה֙ אֶל־דָּוִ֣יד אָבִ֔י יַ֗עַן אֲשֶׁ֤ר הָיָה֙ עִם־לְבָ֣בְךָ֔ לִבְנ֥וֹת בַּ֖יִת לִשְׁמִ֑י הֱ‍ֽטִיב֔וֹתָ כִּ֥י הָיָ֖ה עִם־לְבָבֶֽךָ׃

Rashi on II Chronicles

you did well that it was in your heart i.e., I too choose the House that you thought to build, where My name shall dwell, as is stated above.
שאל רבBookmarkShareCopy